<template>
  <el-dialog
    :title="type === 'add' ? '添加商品' : '修改商品'"
    :visible="visible"
    width="70%"
    @update:visible="$emit('update:visible', $event)"
  >

  </el-dialog>
</template>

<script>
export default {
  name: 'report-goods-form',
  props: {
    visible: Boolean,
    type: {
      type: String,
      default: 'add',
    },
    defaultFormData: Object,
  },
  data () {
    return {
      formData: {
        purchasePlatformId: '',
        purchasePlatformName: '',
        categoryName: '',
        brandName: '',
        goodsName: '',
        model: '',
        num: '',
        unit: '',
        weight: '',
        salesPrice: '',
        spec: '',
        packingList: '',
        refLink: '',
        refImgs: '',
        itemBarcode: '',
        packageSize: '',
        remark: '',
      },
    }
  },
}
</script>

<style lang="less" scoped>

</style>
